﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="VisitsList.aspx.cs" Inherits="mal.balades.Web.Views.VisitsList" %>

<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
    <link href="/Styles/VisitsList.css" rel="stylesheet" type="text/css" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <asp:Panel ID="headerDetail" runat="server">
        <h1 id="h1Title" runat="server">
        </h1>
        <div class="VisitListCategoryPicturePanel">
            <asp:Image ID="imgCat" runat="server" />
        </div>
        <div class="VisitListCategoryTextPanel">
            <asp:Label ID="lblTextCat" runat="server"></asp:Label>
        </div>
    </asp:Panel>
    <asp:Repeater ID="rptVisits" runat="server">
        <HeaderTemplate>
        </HeaderTemplate>
        <ItemTemplate>
            <div class="VisitListVisit" style='background-image: url(<%#VisitPictureUrl(DataBinder.Eval(Container.DataItem, "Picture")) %>)'>
                <div class="VisitListVisitTextBackground">
                </div>
                <div class="VisitListVisitTextZone">
                    <h2>
                        <asp:HyperLink ID="hlTitle" runat="server" CssClass="VisitListVisitTitle" NavigateUrl='<%#VisitUrl(DataBinder.Eval(Container.DataItem, "Url")) %>'><%#DataBinder.Eval(Container.DataItem, "Title")%></asp:HyperLink>
                    </h2>
                    <div class="VisitListVisitText">
                        <asp:Label ID="lblText" runat="server">
                                                    <%#DataBinder.Eval(Container.DataItem, "SumUp")%>
                        </asp:Label>
                    </div>
                </div>
            </div>
        </ItemTemplate>
        <FooterTemplate>
        </FooterTemplate>
    </asp:Repeater>
    <div style="clear: both" ></div>
</asp:Content>
